/********************************************************************
Name: Table A19: Effect of Dem Sheriff on Detainer Compliance Rate
Author: Dan Thompson
Date: August 2019
Notes:
********************************************************************/

* Set the working directory 
gl root = "$sanctuary_root"
gl root = "YOUR_WORKING_DIRECTORY"

* Bring in the US House voting analysis data
use "$root/data/house immigration voting rd analysis data.dta", clear

* Column 1
reg vote treat rv rv2 rv3 treat_rv treat_rv2 treat_rv3 ///
	if year_vote=="2007_485" & abs(rv)<25, robust

* Column 2
reg vote treat rv rv2 rv3 treat_rv treat_rv2 treat_rv3 ///
	if year_vote=="2012_366" & abs(rv)<25, robust

* Column 3
reg vote treat rv rv2 rv3 treat_rv treat_rv2 treat_rv3 ///
	if year_vote=="2013_195" & abs(rv)<25, robust

* Column 4
reg vote treat rv rv2 rv3 treat_rv treat_rv2 treat_rv3 ///
	if year_vote=="2017_342" & abs(rv)<25, robust
